for loop leak