fixed uninitialized is_streaming variable