fixed aggregation of kpis