fixed bug in user flashcard