fix agGroup