tweak client creation