fix bug to handle words not in base_word_list