fix 'make publish'