Fixed not connecting to chat server