helpers/stream.lua: fixed bug 2