fix typo and improve readability