fix missing ref typo