Fixed dynamic loading of modules