human
Solve the following python programming problem given the following code:
def act(self) : 
    activeEngines = filter ((lambda engine : engine.is_active ()), admin.workers.itervalues ()) 
    def extend(x, y) : 
        x.extend (y.users) 
        y.users = [] 
        return x 
activeUsers = reduce (extend, activeEngines, []) 
    iterEngine = cycle (activeEngines) 
    for userName in activeUsers : 
        engine = iterEngine.next () 
        user = monkapi.load_user (iterEngine) 
        user.partition = engine.partition 
        user.save () 
        engine.add_user (userName) 

    
    

    Fix the buggy line: user = monkapi.load_user (iterEngine)
assistant
#Here is Python code to fix the buggy line: user = monkapi.

user = monkapi.load_user (userName)