fix streaming