p3 installation fixes