fixed bug with redeem