Fix the frequency map.