some client creation fixes