fix: fix bug when there are categories with no values for each metric