diff --git a/agent/features/support/hooks.rb b/agent/features/support/hooks.rb
index <HASH>..<HASH> 100644
--- a/agent/features/support/hooks.rb
+++ b/agent/features/support/hooks.rb
@@ -27,3 +27,7 @@ Before("@stderr") do
     @stderr = StringIO.new
     eval("$stderr = @stderr")
 end
+
+After("@stdout") do
+    eval("$stdout = REAL_STDOUT")
+end
not sure if we need these hooks