fixed mapreduce failing