clean up the core theme