fix reduce param error