fix reduce bug