fix streaming example