fixed the centering of the display text