add nil check for the geojson config option