bug fix for streams