fixing empty cards