fix the reroll buy-button bug