Removing non-used categories