change E-field switch to sun.ABSwitch