bug fixe for quote and item delete