fixing client connect mismatch