remove this.complete() call from publish snippet