fixing two offers bugs