diff --git a/src/freedombone-utils-web b/src/freedombone-utils-web
index 697f0853ad780f0f69031f5eaccce3b57918de7c..353d1d6864b09218137295a2c7aabf052b4fa400 100755
--- a/src/freedombone-utils-web
+++ b/src/freedombone-utils-web
@@ -817,8 +817,10 @@ function update_default_domain {
             chmod 600 /etc/prosody/prosody.cfg.lua
             if [ -d $INSTALL_DIR/prosody-modules ]; then
                 cp -r $INSTALL_DIR/prosody-modules/* /var/lib/prosody/prosody-modules/
+                cp -r $INSTALL_DIR/prosody-modules/* /usr/lib/prosody/modules/
             fi
             chown -R prosody:prosody /var/lib/prosody/prosody-modules
+            chown -R prosody:prosody /usr/lib/prosody/modules
             systemctl reload prosody
         fi