Fixed some bugs in the offerize operation.