format file and fix typo