some typo bug fixes