some checks in stri_locate_fixed