fixed the problem that the navigation url is not right when default