fix: use of items rather than iteritems.