fixed for of to use key and for in to use value when recycling statements