bugfixing joining in chatserver