Fixed displaying messages.