small bugfix

implement `stream.Stream` interface.