diff --git a/src/Services/ElementSynchronizationService.php b/src/Services/ElementSynchronizationService.php
index 5327e5e3a3e4d9d25798d933a9c3cd9330907ffd..141617cce89f1000cd8e63970956c9f2f531b7b1 100644
--- a/src/Services/ElementSynchronizationService.php
+++ b/src/Services/ElementSynchronizationService.php
@@ -41,13 +41,13 @@ class ElementSynchronizationService
                     'verbose' => true
                 ]);
 
-            $osmFeature = $this->elementToOsm($contribution->getElement());
+                $osmFeature = $this->elementToOsm($contribution->getElement());
 
-            // Get URL of current map
-            $url = $this->urlService->generateUrl();
+                // Get URL of current map
+                $url = $this->urlService->generateUrl();
 
-            // Check contribution validity according to OSM criterias
-            if($this->allowOsmUpload($contribution, $preparedData)) {
+                // Check contribution validity according to OSM criterias
+                if($this->allowOsmUpload($contribution, $preparedData)) {
                     $toAdd = null;
 
                     // Process contribution