Fix endline whitespace