Fix problem with xml file