publish pub fix