fixed stream_id not being called properly