updated to make publish btns work in ioco-web