fix failReduce bug