fix chat bugs, person info bug, newmessage bug