Make for..in variable local