fix bug for cart destroy