fix lodash bugs