fix incorrect horizontal alignment