add setPath to Router