More line ending fixes