fixing multiple connections to routers