fix core path