fix console errors when navigator disabled