Fix remote publishing