removed unneeded ptr in client