fix some exceptions in UTF16 encoding