make RouteDirectory work