fix a bug on loading the module loaded