fix publisher bug