removed unneded get_xml() calls