Fixed checkWord