fixed typo, all tests pass