Fix bug: sending empty stream id