fixed bug in finding phdiffs in 2_4