verify if category is null