fix stream ending
0.0.17