minor cleanup, fix more line endings