remove old stuff from the core module