fixed word_tree1 bug