correcting old function call in built-in client tutorial