fix sending of stream array