eliminated some Rcpp leftover