cleaned up core directory