remove unnecessary routers