merge categories