Fixing end of line issue