main: fix cpu min&max_freq problem