Fixed problem in parsing of xml file