fix gcs driver conditional bug