repair text alignment