fixed xml dumps error