fix error strong highlight not closing when last word