don't pass ref to show func in routeChangeHandler