fix streaming reduce bug.