fixed error with center text not switching language