text alignment deprecation and formatter fixes