fixed boolean in leaflet