fixed bug with server crashing when people leave chat room