fix server script