fix SwitchFormat args call to new API