fix cats custom_attrs init