fix agg