debug check and redeem