fixed loading of modules