fix unbound var [publish]