fix utf16 issue