fix bug that can do map-reduce work
fix bug that can do map-reduce work