fix aggregation json views