fix some typo and method name