fix bug can't search multibyte character