fixed chat with functional publishing changes