fixed karma headless config