client api connection fixed