replaced underscore with lodash on backend