Prevent console errors