fix core