diff --git a/apps/user_ldap/ajax/wizard.php b/apps/user_ldap/ajax/wizard.php
index df178ac0a822eb6d1a5120ceb750881f940d3272..daee5ebf94d1f056ae9486264aff935b398b43bc 100644
--- a/apps/user_ldap/ajax/wizard.php
+++ b/apps/user_ldap/ajax/wizard.php
@@ -69,7 +69,8 @@ $access = new \OCA\User_LDAP\Access(
 	$ldapWrapper,
 	$userManager,
 	new \OCA\User_LDAP\Helper(\OC::$server->getConfig()),
-	\OC::$server->getConfig()
+	\OC::$server->getConfig(),
+	\OC::$server->getUserManager()
 );
 
 $wizard = new \OCA\User_LDAP\Wizard($configuration, $ldapWrapper, $access);
diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php
index 2395da1ec90ad27839f18011878c4545027090d9..4736e365504ebd65dd811d7fdc779fec256c60a0 100644
--- a/apps/user_ldap/lib/Access.php
+++ b/apps/user_ldap/lib/Access.php
@@ -50,7 +50,6 @@ use OCA\User_LDAP\User\IUserTools;
 use OCA\User_LDAP\User\Manager;
 use OCA\User_LDAP\User\OfflineUser;
 use OCA\User_LDAP\Mapping\AbstractMapping;
-
 use OC\ServerNotAvailableException;
 use OCP\IConfig;
 use OCP\IUserManager;