remove headless dependency