1.delete unreachable branch and corresponding test cases
2.fix some typo