fix looped publishing