diff --git a/src/private/useractions.h b/src/private/useractions.h
index 6b8754bcd94edec368014c59537e3746ef215a59..338f0af8d96063d7ad01e98eddb4a0ec062956bd 100644
--- a/src/private/useractions.h
+++ b/src/private/useractions.h
@@ -405,11 +405,11 @@ bool addPerson(ContactMethod* cm, CollectionInterface* col)
       const QVector<CollectionInterface*> cols = PersonModel::instance()
          .collections(CollectionInterface::SupportedFeatures::ADD);
 
-         if (cols.isEmpty())
-            return false;
+      if (cols.isEmpty())
+         return false;
 
-         //TODO support collection selection
-         col = cols.first();
+      //TODO support collection selection
+      col = cols.first();
    }
 
    Person* p = new Person();