Minor bug fix regarding scanWordsFromUser