fixed function when adjust carto editor
removed unnecessary library load