fix buggy cv-dir