fixed exporting to shp bug with geom type