refine message_html