fix publish task