Remove extra newline from error message