Fix problem with routes with parameters

Fix the issue #109