minor cleanup
refactor publish to base on ActorStack