fix publish feature