Fix a ref.