diff --git a/appinfo/info.xml b/appinfo/info.xml
index 1c26d3cd..f88f1358 100755
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -22,7 +22,7 @@ Guests users can only access files shared to them and can't create any files out
https://raw.githubusercontent.com/nextcloud/guests/master/screenshots/settings.png
https://raw.githubusercontent.com/nextcloud/guests/master/screenshots/dropdown.png
-
+
OCA\Guests\Command\ListCommand
diff --git a/lib/Hooks.php b/lib/Hooks.php
index 10aa2801..f2e2c953 100644
--- a/lib/Hooks.php
+++ b/lib/Hooks.php
@@ -242,7 +242,10 @@ public function handleFirstLogin(GenericEvent $event): void {
$ownershipTransferService->transfer(
$guestUser,
$user,
- '/'
+ '/',
+ null,
+ true,
+ true
);
} catch (TransferOwnershipException $e) {
$this->logger->logException($e, [