fixing line ending