fixing bad line endings