Resolve issue with hidden carriage returns