only delete sorted grammar on success