set provider type globally