fixed function name in client