fixed text alignment warnings