fixed getfreq precision