Fix proto exceptions