fix server spawn