Fix some small bugs in data_provdiders.py