reduce consing in join-substring-words
fix word-info bug