removed 'a' char from end of XML file