Fixed create card bug