Corrected varFreqs encoding issues.