Fixed a error caused by not renaming a variable

Forgot to change ret.iteritems() to data.iteritems() in printSummary