Issue #10: Fix compile error in card item