make nicknames unique

Fix infinite loop.