Fixing cards variable