Before modify card.