repare navigation and add detect page