still some bug in chat