fixes the text alignment of the header