forgot to respect headless setting.