Do some fixes for changeNickname.