add error handling to xml_Find_tags