increased max width
added line trimming