fix some hangman bugs