refine message.