fix publish options use