fix remove_card bug when chosen card appears multiple times