Fix IO in MapReduce type