prevent setting max freq on first boot v.2 (Credit imoseyon)