Removing excess carriage returns