fixed a bug related to isolating streams as data