fix sample chat server