fixed deleting cards