diff --git a/src/myfasthtml/core/commands.py b/src/myfasthtml/core/commands.py
index 26e2a9e..7f6fe40 100644
--- a/src/myfasthtml/core/commands.py
+++ b/src/myfasthtml/core/commands.py
@@ -151,7 +151,7 @@ class Command:
before_commands = [bc for bc in self.owner.get_bound_commands(self.name) if bc.when == "before"]
for bound_cmd in before_commands:
logger.debug(f" will execute bound command {bound_cmd.command.name} BEFORE...")
- r = bound_cmd.command.execute(client_response)
+ r = bound_cmd.command.execute() # client_response should not be forwarded as it's not the same command
ret_from_before_commands.append(r)
# Execute main callback
@@ -166,7 +166,7 @@ class Command:
after_commands = [bc for bc in self.owner.get_bound_commands(self.name) if bc.when == "after"]
for bound_cmd in after_commands:
logger.debug(f" will execute bound command {bound_cmd.command.name} AFTER...")
- r = bound_cmd.command.execute(client_response)
+ r = bound_cmd.command.execute() # client_response should not be forwarded as it's not the same command
ret_from_after_commands.append(r)
all_ret = flatten(ret, ret_from_before_commands, ret_from_after_commands, collector.results)