correcting cnv::stream