Fix the CORE flag