added text line cutting