Fix routers for localhost