auto resolve router