Fix bad ref.