fixing wordwrap issues in titles