code changes to get correct stats on wgp group