fix streaming reduce bug.
Merge branch 'dev' of https://github.com/fajoy/horizon into nctu