redeem by badge fix.