Fix a bug in guess.