Minor style fixes remove console errors