fixed xml loading