fixes the category configurations deleted when syncing