bug fixes in mapreduce functions