Corrected error with cards initialization