fixed loop variables for capacity test script