fixing p2