modified some code about module_loader