Added max line column and set text length