stream bug fixed