Fix the bug for iteration in function step