fix publish build