Remove trailing line