minor fixes in standalone chat