fixes to post publish