fixed XML Loader