fix dataprovider compatibility