fix server edit