fixed amend offers bugs