fix seek offset  bug within multi-byte strings
fix ignore case seek bugs