remove superfluous newlines in error messages