fixed type in polyoine to polygon (n1 -> n2)