cleaned up the XML