fix trailing words