fixing display of message