fixed some bug with core::module::check