cleanups
hack to get linearrings and polygons happy?