fix publish config