change some line endings and fix typo