correcting stop stream