working correct chat room allocatoin