fix streaming sequence