Fix 2 errors