fixing postpublish