fix typo and docblock for consistency