Fixed bug for edit, internet failure