fix end of lines