MapReduce fix