clean up Core app