added lodash to for escaping