fixed encoding problems.