fix unbound var 2nd try [publish]