text offset length segment txt bad locat except document text offset length txt 