fixed another leaflet library access bug