fix chat client ordering in server