improved display of messages