bugfixing on hangman and some paths