fixed freeItems bug from last commit

Don't trust for-each.