fixed roxygen in opt_diff