Fix cpu freq settings

Thanks @Kevindeving