fixed many errors in cv