router works properly and triggers visibility controller