fixed for loop index for fixtures