fixing a misnamed parameter name for the request
returning the client correctly from here