fix leaflet issue