fix autoconfig for polygons