fixed more brokenness in auto_publish