Fix PubSub publish processor