some changes for leaflet and design