attempt to fix console logging in headless ff