Fix bug. remove bad ref.