Fix bug handle process publish in broker