fix typo and method doc