Fixing end of lines