Fix 2 error paths.