Fixed bug that some modules are not loaded