deleting empty categories in menu