Remove local type signature and fix typo