fix defaultoptions using lodash extend