mapreduce bug fixed, now works good for many count of mappers