fixed Client declaration