tidy end of line