revert from error