fix missing counter_source on publish, implemented differently upstream too many changes so incorporating a simple fix for stable/folsom