fix publish button