Fix minor bug related to route parameters