Fix infer_private