fix chat and roster sort