bug fix in stream assignment
update to match other changes