Fixed an xml bug