cleaned the xml file