Fix in for loop