exclude middlewares from routes walk