fixed a dataProvider bug