fix printchat

fix