use six.iteritems and no compress on continue