fix data source bug