Fixed the frequency variable names