publish button fix