resolving leaflet display issue