fixed adaptation to lodash