fix so that empty categories dont 404