fixed xml problems