fixed the messages display