correct the xml files