fix typo and indenting