remove old core libary