chatlog bug fix