Fix get hottest code.