fix giftcb bug