debug empty categories