fix bug, finish API for offer delete