remove additional carriage returns from stacktrace