fixed logic issue with guess checking.