add the message in the detail page