fix the join bug for the polygon cutter