fix bugs in stream
stream fix
remove lines
Merge pull request #136 from ngoel36/stream

fix bugs in stream