fix typo & deref