Revise the line-end