fixed leaflet bug