fixed bug in geojson parsing code.