prevent edit of card after generated