enabled headless mode