Card creation fix