send command to server works