fix core dependency