typo and bug fix