fixed errors with the loading script of RDF