rm extra newlines from error logging