fixed variable typo in Client.php