fix wrong redirects for named params