remove debug information, prefer iteritems() over items()