fix for overflowing text out of the message box