headless browser fix.