viewSwitch,routeruls work