fix bug in geojson viewer