fix console.log bug for printing token!