human
Solve the following python programming problem given the following code:
def TestParallelInstanceOSOperations(instances) : 
    "PERFORMANCE: Parallel instance OS operations.

  Note: This test leaves the instances either running or stopped, there's no
  guarantee on the actual status.

  @type instances: list of L{qa_config._QaInstance}
  @param instances: list of instances to issue lifecycle commands against

  " 
    OPS = ['start', 'shutdown', 'reboot', 'reinstall'] 
    job_driver = _JobQueueDriver () 
    def _SubmitNextOperation(instance, start, idx, job_driver, _) : 
        if (idx == len (OPS)) : 
            return 
op_idx = ((start + idx) % len (OPS)) 
        next_fn = functools.partial (_SubmitNextOperation, instance, start, (idx + 1)) 
        if ((OPS [op_idx] == 'reinstall') and (instance.disk_template == constants.DT_DISKLESS)) : 
            next_fn (job_driver, None) 
            return 
else : 
            if (OPS [op_idx] == 'reinstall') : 
                shutdown_cmd = ['gnt-instance', 'shutdown', '--submit', instance.name] 
                cmd = ['gnt-instance', 'reinstall', '--submit', '-f', instance.name] 
                job_driver.AddJob (_ExecuteJobSubmittingCmd (shutdown_cmd), running_fn = (lambda _, __ : job_driver.AddJob (_ExecuteJobSubmittingCmd (cmd), running_fn = next_fn))) 
else : 
                cmd = ['gnt-instance', OPS [op_idx], '--submit'] 
                if (OPS [op_idx] == 'reinstall') : 
                    cmd.append ('-f') 
cmd.append (instance.name) 
                job_id = _ExecuteJobSubmittingCmd (cmd) 
                job_driver.AddJob (job_id, running_fn = next_fn) 
for (start, instance) in enumerate (instances) : 
        _SubmitNextOperation (instance, (instance % len (OPS)), 0, job_driver, None) 
job_driver.WaitForCompletion () 

    
    

    Fix the buggy line: _SubmitNextOperation (instance, (instance % len (OPS)), 0, job_driver, None)
assistant
#Here is Python program to fix the buggy line: _SubmitNextOperation (instance, (instance % len (OPS)), 0, job_driver, None)
.

_SubmitNextOperation (instance, (start % len (OPS)), 0, job_driver, None)