remove wrong name assignment to stream object