fix for headless install