fixed character encoding problems