fixed leaflet controller issue