Refine the layout of message