fix for p2