remove weird line endings