improve display of messages