fixed links in switcher code