Wrong check a cards

а если @card = nil?