fixed dependencies problem
fixed references to leaflet