fix mapbox bug