finally fixed phasing polygons