changed Error message for empty categories to be on one line