fix the end of line