Fixed the composite map reduce issue