Remove trailing line.