---
title: "Deck of Cards macro's default tab is not working"
canonical: "https://support.appfire.com/space/CT/1562476674/Deck%20of%20Cards%20macro's%20default%20tab%20is%20not%20working"
format: markdown
---
> Macro (aura-html)

## Summary

The **default** tab is one of the main attributes of the Deck of Cards macro. It displays the first card to be shown when the page is loaded. However, when the *default *parameter is used with multiple Deck of Cards macros, this *Default *attribute does not select the target tab.

The *default *tab does not work when dealing with multiple Deck of Cards macros.

## Diagnostics steps

1. The *default *parameter is checked to set one of the created cards as the default shown tab.
2. More than one Deck of Cards macro carries the same **ID**.

## Cause

The issue occurs due to *ID *parameter duplication. Each Deck of Cards macro has an *ID *parameter which is a mandatory field. *ID *parameter is used to distinguish each Card macro. Thus, the issue occurs when the user has multiple Deck of Cards macros without unique *ID*s which will result in an unexpected behavior.

## Workaround

Not applicable.

## Resolution

To solve this issue, make each Deck of Cards macro *ID *unique from other Deck of Cards macros.

![image](media://b79325db-9dcc-41a1-80a2-dc4d68aa762b)