fix wrong use of getRouteConfig