- small fix in publish.js