Fix error in publish.