Fixes in console errors