Flashcard id replace bug fixed