Fix publishannouncement