removed trailing lines