text offset length bad locat except document text offset length 