Adapt to server.