fix create_word_sets method