fix typo and minor changes