strip carriage returns