restore client into comm.go