Fix publish config issue