fix typo and warning