Bugfix of the XML parser