fix typo
reformat code