add lodash and fix dotOptions