fixed new_card bug