fix typo in get reference