fix core.