fix use a route name in the sample file