fix kpi types