change chat.c