typo bad ref