fix typo and add missing