prevent nav to current page