fix empty categories