fixes for ending the streams OK
0.1.0