fix issue when data is same instance