removing nulls from category list