change MapReduce to MapRed