Fix fatal errors.