diff --git a/src/MiniDocs/LePage.extension.st b/src/MiniDocs/LePage.extension.st
index 569acd8..424f075 100644
--- a/src/MiniDocs/LePage.extension.st
+++ b/src/MiniDocs/LePage.extension.st
@@ -391,8 +391,13 @@ LePage >> uiSync: anAction [
 	^ anAction button
 		tooltip: 'Sync with remote document';
 		icon: BrGlamorousVectorIcons refresh;
-		action: [  "Exeption LeDuplicatePageIdError"self database
+		action: [  "Exeption LeDuplicatePageIdError"[ self database
 				importDocumentFrom: self remote ]
+				onErrorDo: [ :err | 
+					self
+						assignNewUID;
+						updateTitle: self title , '-old'.
+					self database importDocumentFrom: self remote ] ]
 ]
 
 { #category : #'*MiniDocs' }