add default value for empty route and move to end of parameterlist