fixed bug causing wrong wordlist to be returned