headless problem fix