fix possible line ending discrepancy