all tests pass
fixes compare call bug