Fixed a bad ref