Frequency table fix