chat and other fixes