headless mode checks