fixed a bug in XmlTreeModel