Missing a var on a for loop, caused a variable to be leaked.