remove lodash dependency in util