Minor bugs in staples and redeem code pages