fix publish cmd