Unneeded spaces from category names are deleted