cleanup the aggs generator