remove spurious carriage returns