Fix an error in cv.