Fixed automatic report for headless mode.