fix provider type