fix text_xml bug