Fix the command chaining problem.