Publish button fixed, closes #48