Add card bug fix