small fix in client.py