diff --git a/client/src/app.js b/client/src/app.js
index <HASH>..<HASH> 100644
--- a/client/src/app.js
+++ b/client/src/app.js
@@ -417,7 +417,7 @@ _kiwi.global = {
         }

 

         // Set any random numbers if needed

-        defaults.nick = defaults.nick.replace('?', Math.floor(Math.random() * 100000).toString());

+        defaults.nick = defaults.nick.replace(/\?/g, Math.floor(Math.random() * 100000).toString());

 

         if (getQueryVariable('encoding'))

             defaults.encoding = getQueryVariable('encoding');
Replacing multiple ? in the nick with a random number