fix dataprovider bug in data manager