Fix setupRouter