fix some error and typo