Please use `six.items` instead of `iteritems` since it break Py3 compatibility