bug fix for zeromq publish