stream bug fix