Delete all console.log(), fix bug for validate offers.