Clean frequency table