remove trailing lines