fix core ext