fixed invalid utf-8 byte sequence in dictionary