fixed bugs inj parse_facility_status.pl