fix hz change freeze game