Fixed add_offer bug