Fix some logic errors in the excute method of the engine.
Fix the logic error of getting argument, add some commits.