fix typo and fix docblock