Fix problem with routes with parameters