fixing the url resolution that doesn't work if the route have one or more argument