Made changes to fix console errors.