fix the issue when the parts of the url are lower parts of the routes