cleaned up the xml