fix clients bug