fix error on create client