fix the issue when the parts of the url are lower parts of the routes
Merge pull request #206 from norman784/master

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