headless fixes