cleaning up cnv::stream