remove unnecessary dependence on cv