corrected the format of MapAggregateEvent