fixing bug where line can be too long in language other than English like Japanese