fix to ArrayDataProvider