fix deps for p-core