fix typo in format char