fixed encoding issues that broke the xml