Fixed some style issues on mapreduce