change sendToServer