fix iteritems and views