fix edit server save problem