Fix a few mistakes in sentence representation.