fix typo and docblock