fixed for loop img