fix bug stream function