fig bug

fix the data provider bug