debug some issues with deleting cards