bug fixed in affinity data provider