fix MAPREDUCE-5086 bug