fix client creating