Line ending fixup