fix core libraries