revert switch type and accessory #