fix syntax error
duplicate functions for per-org aggregations