fixed xml parse