cleanup chat; use old api