fixed creating clients