resolve broken characters