fixed some parse_xml issues
changed to refelect changes in sn_do