make publish-plugin working