improving line ending