fix last bits of python client