fix server auto start after generation