Fix 2 warnings