fix typo & declaration