fix typo and nits