-ai start and tcp fix