two phase bugs p1 > p2