fixed multibyte char error