fixed typo and one test case