fix for message box extending too far