Fixed a bug where a module that is cached incompletely