Resolve bug in generating of word structure.