fixed the centering of the message