remove encoding problems