fix chatlog