fixed a bug with semi-problematic streams