fix typo and comments