fix invokeAfterExecute()