copy category to custom_field