Added a temporary fix for showCardState