cleanup up chat module