deal with DictCursor