fix offers contain duplicate offer bug