delegation need to fix "undefined" when no option, add radio button as switch