Fix getTime and getFreq