introduce lodash and bug fix