fix return client