Fix RouteMap.render method