fix missing client var