fix typo and missing use