fixed geojson creation