dealt with the message appearance