fix typo and spec