Correct line length and endings