reset key and value, to avoid summary table bug