bug fix for cvs parse fn