fixed issues with XML file