fix dict.itervalues mistake