bug with core modules