add refs and fix typo