fix typo checking