racemode toggle improvement