diff --git a/src/tracing/exporters/console.js b/src/tracing/exporters/console.js
index <HASH>..<HASH> 100644
--- a/src/tracing/exporters/console.js
+++ b/src/tracing/exporters/console.js
@@ -76,7 +76,7 @@ class ConsoleTraceExporter extends BaseTraceExporter {
 			this.printRequest(span.id);
 
 			// remove old printed requests
-			this.removeSpanWithChildren(span);
+			this.removeSpanWithChildren(span.id);
 		}
 	}
 
diff --git a/test/unit/tracing/exporters/console.spec.js b/test/unit/tracing/exporters/console.spec.js
index <HASH>..<HASH> 100644
--- a/test/unit/tracing/exporters/console.spec.js
+++ b/test/unit/tracing/exporters/console.spec.js
@@ -119,7 +119,7 @@ describe("Test Console tracing exporter class", () => {
 			expect(exporter.printRequest).toHaveBeenCalledWith("span1");
 
 			expect(exporter.removeSpanWithChildren).toHaveBeenCalledTimes(1);
-			expect(exporter.removeSpanWithChildren).toHaveBeenCalledWith(span1);
+			expect(exporter.removeSpanWithChildren).toHaveBeenCalledWith("span1");
 		});
 
 		it("should not call printRequest if has parent span", () => {
fix span removing in console trace exporter