fixing scenario that would allow the user to win