fixed getclient brokeness