clean up aggregation