removed random type from switch label.