fixed a problem with cv's  in the wrong places