#442 error fix (when card is null)