remove extra comments / code in the XML files