fix all console errors