fix some aspects of web chat