fix ending stream
bump 0.1.2