fix VisitSwitchNode at Bash