various fixes for bitchat