finish XmlManager