change endline rule