more global leaks

no longer leaking `items` or `i`