1. catch error when parse_xml, 2. replace tab, 3. using function empty to replace count to test array