fix typo and re-format