fixed aggregator bug