fixed the loading of source files