Fixing admin publish issues