handle legacy make_client signature properly