fixes ReversePolygon / ReversePolygons error